Skip to content
Snippets Groups Projects
Commit 36975a45 authored by Armin Felder's avatar Armin Felder
Browse files

Merge branch 'master' into filesRepo

parents 36012136 f01c027b
No related branches found
No related tags found
1 merge request!87Files repo
......@@ -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 );
};
......
......@@ -291,6 +291,9 @@ void RocketChat::clearWebViewCookies()
#if defined(Q_OS_ANDROID)
AndroidCookies::clearAllCookies();
#endif
#if defined(Q_OS_IOS)
emit clearAllCookies();
#endif
}
bool RocketChat::newServerByDomain( const QString &domain, bool pUnsecure = false )
......
......@@ -259,6 +259,7 @@ class RocketChat : public QObject
void openGallery();
void checkForpendingNotificationIOS();
void registerForPushIOS();
void clearAllCookies();
};
#endif // ROCKETCHAT_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment