Reregister for push notification on joining community
This commit is contained in:
parent
e63f6461ed
commit
d8d5d797da
|
@ -201,6 +201,11 @@ func (m *Messenger) joinCommunity(ctx context.Context, communityID types.HexByte
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = m.reregisterForPushNotifications()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
err = m.sendCurrentUserStatusToCommunity(ctx, community)
|
err = m.sendCurrentUserStatusToCommunity(ctx, community)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Debug("m.sendCurrentUserStatusToCommunity error", zap.Error(err))
|
logger.Debug("m.sendCurrentUserStatusToCommunity error", zap.Error(err))
|
||||||
|
|
Loading…
Reference in New Issue