Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RocketChatMobileEngine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
hosting
chat
RocketChatMobileEngine
Commits
3970132c
Commit
3970132c
authored
6 years ago
by
Armin Felder
Browse files
Options
Downloads
Patches
Plain Diff
sd
parent
e2720e60
No related branches found
Branches containing commit
No related tags found
1 merge request
!111
Clear ios cookies
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
engine.pro
+2
-1
2 additions, 1 deletion
engine.pro
notifications/ios/applepushnotifications.cpp
+2
-2
2 additions, 2 deletions
notifications/ios/applepushnotifications.cpp
notifications/notificationabstract.h
+3
-3
3 additions, 3 deletions
notifications/notificationabstract.h
with
7 additions
and
6 deletions
engine.pro
+
2
−
1
View file @
3970132c
...
...
@@ -283,7 +283,8 @@ CONFIG(release, debug|release) {
QMAKE_CXXFLAGS
+=
-
Ofast
-
funroll
-
loops
-
fno
-
signed
-
zeros
-
fno
-
trapping
-
math
}
ios
:
{
QMAKE_CXXFLAGS
+=
-
O3
CONFIG
+=
ltcg
QMAKE_CXXFLAGS
+=
-
Ofast
-
funroll
-
loops
-
fno
-
signed
-
zeros
-
fno
-
trapping
-
math
}
}
...
...
This diff is collapsed.
Click to expand it.
notifications/ios/applepushnotifications.cpp
+
2
−
2
View file @
3970132c
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
notifications/notificationabstract.h
+
3
−
3
View file @
3970132c
...
...
@@ -44,9 +44,9 @@ class NotificationAbstract : public QObject
QString
mToken
;
signals:
void
tokenReceived
(
const
QString
&
pToken
);
void
messageReceived
(
const
QString
&
pServer
,
const
QString
&
pRid
,
const
QString
&
pName
,
const
QString
&
pType
);
void
switchChannelByName
(
const
QString
&
pChannel
);
void
tokenReceived
(
QString
pToken
);
void
messageReceived
(
QString
pServer
,
QString
pRid
,
QString
pName
,
QString
pType
);
void
switchChannelByName
(
QString
pChannel
);
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment