Pasting into add MUC dialog's "room" field should be improved
problem
Prasing of JIDs or URIs into the MUC bookmark "room" field could be improved to split out the nick from the resourcepart, or to work with XMPP join URI's.
analysis
When pasting an entire JID into the room field of the add new bookmark or join chat dialog box, it is split into its component parts. Eg. pasting "room@example.net" would into the "room" field would set the room field to "room" and the server field to "example.net".
This is convenient when copy/pasting MUC rooms from webpages and documents. However, this paste functionality could also be expanded to work for join/invite URI's as specified in RFC 5122, XEP-0147, and XEP-0045 in order of ascending priority (eg. "xmpp:jabber@conference.jabber.org?join").
This would split off the query string and protocol (?join' and
xmpp:'), and then paste the rest as usual (useful when, eg. copying a link source from a webpage).
It might also be good (though with more limited use, I would think) to split full JID's including the resource part. Eg. room@example.net/MyNick' would split and place
MyNick' in the Nickname field.
enhancement recommendation
Implement URI parsing, specifically URI's with the query ?join'' or
?invite'".
Possibly implment parsing resourceparts into nicks, but this most likely has limited use.