diff --git a/imports/Spectral/Page/Login.qml b/imports/Spectral/Page/Login.qml index 3f93b1e..fbf5a06 100644 --- a/imports/Spectral/Page/Login.qml +++ b/imports/Spectral/Page/Login.qml @@ -14,11 +14,6 @@ LoginForm { loginButtonTooltip.open() return } - if (!(usernameField.text.startsWith("@") && usernameField.text.includes(":"))) { - loginButtonTooltip.text = "Username should be in format of @example:example.com" - loginButtonTooltip.open() - return - } loginButton.text = "Logging in..." loginButton.enabled = false diff --git a/res.qrc b/res.qrc index d77b650..358c201 100644 --- a/res.qrc +++ b/res.qrc @@ -52,27 +52,6 @@ imports/Spectral/Component/AutoListView.qml imports/Spectral/Component/Timeline/TimelineImage.qml imports/Spectral/Component/Timeline/TimelineLabel.qml - src/accountlistmodel.cpp - src/accountlistmodel.h - src/controller.cpp - src/controller.h - src/emojimodel.cpp - src/emojimodel.h - src/imageitem.cpp - src/imageitem.h - src/imageprovider.cpp - src/imageprovider.h - src/main.cpp - src/messageeventmodel.cpp - src/messageeventmodel.h - src/roomlistmodel.cpp - src/roomlistmodel.h - src/spectralroom.cpp - src/spectralroom.h - src/spectraluser.cpp - src/spectraluser.h - src/userlistmodel.cpp - src/userlistmodel.h imports/Spectral/Component/AutoTextField.qml imports/Spectral/Panel/RoomPanelInput.qml diff --git a/src/spectralroom.cpp b/src/spectralroom.cpp index ea6821d..80329e5 100644 --- a/src/spectralroom.cpp +++ b/src/spectralroom.cpp @@ -170,12 +170,10 @@ void SpectralRoom::saveViewport(int topIndex, int bottomIndex) { (bottomIndex == 0 || topIndex == savedTopVisibleIndex()))) return; if (bottomIndex == 0) { - qDebug() << "Saving viewport as the latest available"; setFirstDisplayedEventId({}); setLastDisplayedEventId({}); return; } - qDebug() << "Saving viewport:" << topIndex << "thru" << bottomIndex; setFirstDisplayedEvent(maxTimelineIndex() - topIndex); setLastDisplayedEvent(maxTimelineIndex() - bottomIndex); }