UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ota-12 Teleports launcher bar Icon always Shows unread messages

    Scheduled Pinned Locked Moved Solved Support
    16 Posts 7 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • T Offline
        Torkel67
        last edited by

        hi, Teleports always shows 9 unread messages, but there aren't ! new ones will just be added. i always have to substract 9 from the shown to know how many new i got.
        thanx in advanced
        T.

        1 Reply Last reply Reply Quote 0
        • T Offline
          Torkel67
          last edited by

          Really nobody got the the problem? or can help to fix it? 😞

          1 Reply Last reply Reply Quote 0
          • K Offline
            kugiigi
            last edited by

            I think the those numbers are inaccurate at the moment. Maybe you should log an issue in its gitlab page πŸ™‚

            1 Reply Last reply Reply Quote 0
            • T Offline
              Torkel67
              last edited by

              Thanx, I opened an issue at gitlab now.

              AppLeeA 1 Reply Last reply Reply Quote 0
              • AppLeeA Offline
                AppLee @Torkel67
                last edited by

                @Torkel67
                Have you try the classic steps like:
                1- Close the app
                2- Unpin the app
                3- Open it again
                4 - Pin the app

                Maybe this is something due to a previous update...
                A reboot is the other option but some locks or priority may interfere. So I'd try my method even if a reboot has been done.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Torkel67
                  last edited by

                  yes it happens after the OTA-12 update.
                  I did the following to fix it:

                  • simple reboot
                  • unpin / repin
                  • unpin / reboot / repin
                    but nothing works
                    After rebooting all looks good, but if you start the App, the issue is there
                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    Maybe an archived chat with unread messages?

                    1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack
                      last edited by

                      If there are unread messages they are being reported by the underlying tdlib component which is a 3rd party library we directly use from upstream Telegram developers. TELEports just sums up what it gets from it, we cannot really do much about it. As @AppLee said it might be an archived chat that you cannot see on TELEports right now - did you compare with the desktop app, whats shown there?

                      Another case is when you would leave a conversation (group, chat) with unread messages, they might get stuck there. Did you do this?

                      I am using TELEports quite heavily but never ran into this issue. If you want to go the easier way, use the UT tweak tool and delete all app data, then re-register the device and see again if you hit those unreads.

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      alan_gA 1 Reply Last reply Reply Quote 0
                      • T Offline
                        Torkel67
                        last edited by

                        The Desktop App shows none unread messages only the OPO, the issue occures directly after I did the OTA-12 update.
                        re-register the device and using the UT Tweak Tool didn#t help
                        maybe I've left a conversation or a group with unread messages, don't know πŸ˜„

                        1 Reply Last reply Reply Quote 0
                        • alan_gA Offline
                          alan_g @flohack
                          last edited by

                          Another data point: I see two (or more) unread on my M10, but none on N5 or desktop.

                          @Flohack Any useful investigating I can do?

                          flohackF 1 Reply Last reply Reply Quote 0
                          • flohackF Offline
                            flohack @alan_g
                            last edited by

                            @alan_g we store unread message counters in a database in the teleports data directory: ~/.local/share/teleports.ubports/teleports.ubports/auxdb/auxdb.sqlite. Would be interesting to see if that really has that number in it, there is a column in the table chatlist_map called unread_messages. And also, if this column is set to 0 for all entries, if the problem comes back.

                            BR

                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              Torkel67
                              last edited by

                              HI, I got it! πŸ˜„

                              • Copied the auxdb.sqlite to my PC
                              • Opened it with SqliteBrowser
                              • and set 3 Values (with 5, 2 and 2 messages) in the unread_messages column to 0
                              • copied the auxdb.sqlite back to my OPO
                                and now it works!!
                                thanx !!!!!
                              flohackF C 2 Replies Last reply Reply Quote 0
                              • flohackF Offline
                                flohack @Torkel67
                                last edited by

                                @Torkel67 that would tell me you are no longer member of these chats, can it be? Did you exit chats or conversations recently? I can see now we need to improve the handling in this case.

                                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Capsia @Torkel67
                                  last edited by

                                  @Torkel67 Thank you it worked for me too (didn't left any chat recently).

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    Torkel67
                                    last edited by

                                    @Flohack ervey Chat, Group or Channel I was in before manipulating the DB is still there, if you mean that!
                                    And of course I frequently add channels or groups to check out if they fit my needs and exit them if not, don't careing about unread messages in it.
                                    T

                                    AppLeeA 1 Reply Last reply Reply Quote 0
                                    • AppLeeA Offline
                                      AppLee @Torkel67
                                      last edited by

                                      @Torkel67 said in Ota-12 Teleports launcher bar Icon always Shows unread messages:

                                      exit them if not, don't careing about unread messages in it

                                      That is probably the cause as @Flohack mentioned.
                                      Unread messages in left groups will stay this way with the current design if I understand correctly.
                                      Seems different though for @Capsia ...

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post