libnmdc: support hub-redirects
This commit is contained in:
parent
c9e95df0df
commit
9b32682c8a
@ -315,15 +315,13 @@ func (this *HubConnection) processProtocolMessage(message string) {
|
|||||||
this.State = CONNECTIONSTATE_CONNECTED
|
this.State = CONNECTIONSTATE_CONNECTED
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$UserCommand":
|
|
||||||
// $UserCommand 1 1 Group chat\New group chat$<%[mynick]> !groupchat_new||
|
|
||||||
// TODO
|
|
||||||
|
|
||||||
case "$ForceMove":
|
case "$ForceMove":
|
||||||
// TODO
|
this.Hco.Address = HubAddress(commandParts[1])
|
||||||
|
this.conn.Close() // we'll reconnect onto the new address
|
||||||
|
|
||||||
// IGNORABLE COMMANDS
|
// IGNORABLE COMMANDS
|
||||||
case "$Supports":
|
case "$Supports":
|
||||||
|
case "$UserCommand": // TODO $UserCommand 1 1 Group chat\New group chat$<%[mynick]> !groupchat_new||
|
||||||
case "$UserList":
|
case "$UserList":
|
||||||
case "$OpList":
|
case "$OpList":
|
||||||
case "$HubTopic":
|
case "$HubTopic":
|
||||||
|
Loading…
Reference in New Issue
Block a user