fixup! Settings: add login info and logout to Profile

This commit is contained in:
nephros 2021-12-15 11:57:48 +01:00
parent f33162801c
commit 313a4d3827

View file

@ -74,11 +74,6 @@ AccordionItem {
} }
} }
onOkReceived: { onOkReceived: {
if (request === "terminateSession") {
appNotification.show(qsTr("Session was terminated"));
accordionContent.loaded = false;
tdLibWrapper.getActiveSessions();
}
if (request === "deleteProfilePhoto") { if (request === "deleteProfilePhoto") {
tdLibWrapper.getUserProfilePhotos(userInformation.id, 100, 0); tdLibWrapper.getUserProfilePhotos(userInformation.id, 100, 0);
} }