Make invites mostly work
This commit is contained in:
@ -119,6 +119,8 @@ func cmdAccept(cmd *Command) {
|
||||
} else {
|
||||
cmd.Reply("Successfully accepted invite")
|
||||
}
|
||||
cmd.MainView.UpdateTags(room)
|
||||
go cmd.MainView.LoadHistory(room.ID)
|
||||
}
|
||||
|
||||
func cmdReject(cmd *Command) {
|
||||
|
@ -138,7 +138,6 @@ func (list *RoomList) checkTag(tag string) {
|
||||
//delete(list.items, tag)
|
||||
ok = false
|
||||
}
|
||||
debug.Print("Checking", tag, index, trl.IsEmpty(), ok)
|
||||
|
||||
if ok && index == -1 {
|
||||
list.tags = append(list.tags, tag)
|
||||
|
Reference in New Issue
Block a user