public bool MessageDelivered(SimpleMessage message) { try { message.UserId = CurUserId; var result = _backend.MessageDelivered(WorkerContext, message); if (result.Success) { Clients.OthersInGroup(message.ChatId).MessageDelivered(message); Logger.Debug(LogKey + message); return(true); } Logger.Warn(result + LogKey + message); } catch (Exception e) { Logger.Error(e); } return(false); }
public ResponseModel <bool> MessageDelivered(IWorkerContext context, SimpleMessage message) { return(_backend.MessageDelivered(context, message)); }