Don’t use ! as the separator for nicknames, use % instead
It’s now easier to use. The distinction between a nick and a channel name is based on the first character (by default it's '#' and '&'). The user doesn’t have to worry about which separator to use anymore. fix #3066
This commit is contained in:
@@ -381,7 +381,7 @@ void ConfigureIrcChannelStep1(XmppComponent&, AdhocSession& session, XmlNode& co
|
||||
{
|
||||
const Jid owner(session.get_owner_jid());
|
||||
const Jid target(session.get_target_jid());
|
||||
const Iid iid(target.local);
|
||||
const Iid iid(target.local, {});
|
||||
auto options = Database::get_irc_channel_options_with_server_default(owner.local + "@" + owner.domain,
|
||||
iid.get_server(), iid.get_local());
|
||||
|
||||
@@ -434,7 +434,7 @@ void ConfigureIrcChannelStep2(XmppComponent&, AdhocSession& session, XmlNode& co
|
||||
{
|
||||
const Jid owner(session.get_owner_jid());
|
||||
const Jid target(session.get_target_jid());
|
||||
const Iid iid(target.local);
|
||||
const Iid iid(target.local, {});
|
||||
auto options = Database::get_irc_channel_options(owner.local + "@" + owner.domain,
|
||||
iid.get_server(), iid.get_local());
|
||||
for (const XmlNode* field: x->get_children("field", "jabber:x:data"))
|
||||
|
||||
Reference in New Issue
Block a user