mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix push online and offline user, but why typing trigger callback push?
This commit is contained in:
parent
75414a52f8
commit
afcb369fae
@ -116,7 +116,7 @@ func (p *Pusher) Push2User(ctx context.Context, userIDs []string, msg *sdkws.Msg
|
||||
}
|
||||
|
||||
for _, v := range wsResults {
|
||||
if msg.SendID == v.UserID {
|
||||
if msg.SendID == v.UserID || msg.ContentType == constant.Typing {
|
||||
continue // Skip if sender and receiver are the same
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user