Bug 316644 - connect to conference using XEP-0045 requirement "room@service/newnick" causes error and don't work
Summary: connect to conference using XEP-0045 requirement "room@service/newnick" caus...
Status: RESOLVED INTENTIONAL
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.5.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 06:26 UTC by Pavel Nedrigailov
Modified: 2013-03-15 15:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Nedrigailov 2013-03-13 06:26:33 UTC
Since telepathy don't support setting up nickname in muc https://bugs.kde.org/show_bug.cgi?id=311487 may be it is possible to allow connections to muc with this way described in xep-0045?

3. Requirements

This document addresses the minimal functionality provided by Jabber-based multi-user chat services that existed in 2002 when development of MUC began. 
...
A user enters a room (i.e., becomes an occupant) by sending directed presence to <room@service/nick>.
An occupant can change his or her room nickname and availability status within the room by sending presence information to <room@service/newnick>.

Reproducible: Always

Steps to Reproduce:
1. KDE IM contacts -> menu -> join chat room -> enter chat room
2. enter to chat room name field somthing like "fedora@conference.jabber.ru/mynick", press ok
Actual Results:  
org.freedesktop.Telepathy.Error.InvalidHandle: invalid room JID python@conference.jabber.ru/ambush: contains nickname part after '/' too

Expected Results:  
connection to fedora@conference.jabber.ru with nick "mynick"
Comment 1 David Edmundson 2013-03-15 15:15:33 UTC
We do not communicate directly to XMPP, but instead use Telepathy as an abstraction layer.
This makes it not possible.

http://telepathy.freedesktop.org/spec/Channel_Dispatcher.html#Method:CreateChannel