parent
d36cd2d125
commit
1b3e192356
@ -136,7 +136,7 @@ func messageHandler(ctx *context.AppContext) {
|
|||||||
// handle as such
|
// handle as such
|
||||||
if ev.ThreadTimestamp != "" {
|
if ev.ThreadTimestamp != "" {
|
||||||
ctx.View.Chat.AddReply(ev.ThreadTimestamp, msg)
|
ctx.View.Chat.AddReply(ev.ThreadTimestamp, msg)
|
||||||
} else {
|
} else if ev.ThreadTimestamp == "" && ctx.Focus == context.ChatFocus {
|
||||||
ctx.View.Chat.AddMessage(msg)
|
ctx.View.Chat.AddMessage(msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user