forked from Silverfish/proton-bridge
test(GODT-2442): test bad event feedback and clean-up.
This commit is contained in:
@ -298,10 +298,9 @@ func (bridge *Bridge) SetAddressMode(ctx context.Context, userID string, mode va
|
||||
}, bridge.usersLock)
|
||||
}
|
||||
|
||||
// SendBadEventUserFeedback sets the address mode for the given user.
|
||||
// SendBadEventUserFeedback passes the feedback to the given user.
|
||||
func (bridge *Bridge) SendBadEventUserFeedback(ctx context.Context, userID string, doResync bool) error {
|
||||
l := logrus.WithField("userID", userID).WithField("doResycn", doResync)
|
||||
l.Info("Passing bad event feedback to user")
|
||||
logrus.WithField("userID", userID).WithField("doResycn", doResync).Info("Passing bad event feedback to user")
|
||||
|
||||
user, ok := bridge.users[userID]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user