mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix logging message.
This commit is contained in:
parent
39b30ab8c9
commit
9676af0d6b
|
@ -1416,8 +1416,9 @@ static NSTimeInterval launchStartedAt;
|
|||
- (void)receivedNewMessages:(NSNotification *)notification
|
||||
{
|
||||
NSArray *messages = (NSArray *)notification.userInfo[@"messages"];
|
||||
OWSLogInfo(@"[Loki] Received %lu messages from long polling", messages.count);
|
||||
|
||||
for (SSKProtoEnvelope *envelope in messages) {
|
||||
OWSLogInfo(@"[Loki] Received messages from long polling");
|
||||
NSData *envelopeData = envelope.serializedDataIgnoringErrors;
|
||||
if (envelopeData != nil) {
|
||||
[SSKEnvironment.shared.messageReceiver handleReceivedEnvelopeData:envelopeData];
|
||||
|
|
Loading…
Reference in a new issue