libnmdc: support hub-redirects

This commit is contained in:
mappu 2016-04-04 19:01:55 +12:00
parent c9e95df0df
commit 9b32682c8a
1 changed files with 3 additions and 5 deletions

View File

@ -315,15 +315,13 @@ func (this *HubConnection) processProtocolMessage(message string) {
this.State = CONNECTIONSTATE_CONNECTED
}
case "$UserCommand":
// $UserCommand 1 1 Group chat\New group chat$<%[mynick]> !groupchat_new&#124;|
// TODO
case "$ForceMove":
// TODO
this.Hco.Address = HubAddress(commandParts[1])
this.conn.Close() // we'll reconnect onto the new address
// IGNORABLE COMMANDS
case "$Supports":
case "$UserCommand": // TODO $UserCommand 1 1 Group chat\New group chat$<%[mynick]> !groupchat_new&#124;|
case "$UserList":
case "$OpList":
case "$HubTopic":