Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chat
RocketChatMobileEngine
Commits
554ce8d7
Commit
554ce8d7
authored
Jan 19, 2019
by
armin
Browse files
corrected invalid signatures
parent
9e87ce6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
notifications/ios/applepushnotifications.cpp
View file @
554ce8d7
...
...
@@ -32,7 +32,7 @@ ApplePushNotifications::ApplePushNotifications()
connect
(
mNotificationInstance
,
&
IosNotificationReceiver
::
switchChannelByName
,
this
,
&
ApplePushNotifications
::
onSwitchRequest
);
}
void
ApplePushNotifications
::
receiveMessage
(
QString
pServer
,
QString
pRid
,
QString
pName
,
QString
pType
)
void
ApplePushNotifications
::
receiveMessage
(
const
QString
&
pServer
,
const
QString
&
pRid
,
const
QString
&
pName
,
const
QString
&
pType
)
{
emit
messageReceived
(
pServer
,
pRid
,
pName
,
pType
);
}
...
...
@@ -60,7 +60,7 @@ void ApplePushNotifications::checkForPendingMessages()
emit
switchChannelByName
(
mRoomName
);
}
void
ApplePushNotifications
::
onSwitchRequest
(
QString
pName
)
void
ApplePushNotifications
::
onSwitchRequest
(
const
QString
&
pName
)
{
mRoomName
=
pName
;
emit
switchChannelByName
(
pName
);
...
...
notifications/notificationabstract.h
View file @
554ce8d7
...
...
@@ -46,7 +46,7 @@ class NotificationAbstract : public QObject
signals:
void
tokenReceived
(
QString
pToken
);
void
messageReceived
(
QString
pServer
,
QString
pRid
,
QString
pName
,
QString
pType
);
void
switchChannelByName
(
QString
&
pChannel
);
void
switchChannelByName
(
QString
pChannel
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment