libnmdc: support hub-redirects

This commit is contained in:
mappu 2016-04-04 19:01:55 +12:00
parent c9e95df0df
commit 9b32682c8a

View File

@ -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&#124;|
// 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&#124;|
case "$UserList": case "$UserList":
case "$OpList": case "$OpList":
case "$HubTopic": case "$HubTopic":