Compare commits
No commits in common. "e28cdceb50cd584945ab23d0a9686295b1926244" and "76a0ea3c0132829ebc99fd382350c8c8cdb4ae4c" have entirely different histories.
e28cdceb50
...
76a0ea3c01
@ -25,7 +25,7 @@ type ReplyWhenUserJoinSession struct {
|
||||
atUserId int
|
||||
}
|
||||
|
||||
func (r *ReplyWhenUserJoinSession) Hit(event ws.ListenEventData, sender *accountFiee.ChatUserData) (hit bool) {
|
||||
func (r ReplyWhenUserJoinSession) Hit(event ws.ListenEventData, sender *accountFiee.ChatUserData) (hit bool) {
|
||||
if event.EventType != ws.EventUserJoin {
|
||||
return
|
||||
}
|
||||
@ -61,7 +61,7 @@ func (r *ReplyWhenUserJoinSession) Hit(event ws.ListenEventData, sender *account
|
||||
return
|
||||
}
|
||||
|
||||
func (r *ReplyWhenUserJoinSession) Run(cache *chatCache.ChatCache) (err error) {
|
||||
func (r ReplyWhenUserJoinSession) Run(cache *chatCache.ChatCache) (err error) {
|
||||
err = logic.NewMessage(context.Background(), cache, r.Sender, dto.NewMessageRequest{
|
||||
Waiter: true,
|
||||
Robot: true,
|
||||
|
Loading…
Reference in New Issue
Block a user