Compare commits

..

No commits in common. "e28cdceb50cd584945ab23d0a9686295b1926244" and "76a0ea3c0132829ebc99fd382350c8c8cdb4ae4c" have entirely different histories.

View File

@ -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,