• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 19 Jun 2020, 07:12

      Thanx, I opened an issue at gitlab now.

      A 1 Reply Last reply 19 Jun 2020, 13:56 Reply Quote 0
      • A Offline
        AppLee @Torkel67
        last edited by 19 Jun 2020, 13:56

        @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 20 Jun 2020, 06:20

          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 20 Jun 2020, 18:02

            Maybe an archived chat with unread messages?

            1 Reply Last reply Reply Quote 0
            • F Offline
              flohack
              last edited by 21 Jun 2020, 07:34

              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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              A 1 Reply Last reply 21 Jun 2020, 10:18 Reply Quote 0
              • T Offline
                Torkel67
                last edited by 21 Jun 2020, 09:58

                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
                • A Offline
                  alan_g @flohack
                  last edited by 21 Jun 2020, 10:18

                  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?

                  F 1 Reply Last reply 21 Jun 2020, 18:51 Reply Quote 0
                  • F Offline
                    flohack @alan_g
                    last edited by 21 Jun 2020, 18:51

                    @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 22 Jun 2020, 06:27

                      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 !!!!!
                      F C 2 Replies Last reply 22 Jun 2020, 18:14 Reply Quote 0
                      • F Offline
                        flohack @Torkel67
                        last edited by 22 Jun 2020, 18:14

                        @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 22 Jun 2020, 20:52

                          @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 23 Jun 2020, 06:05

                            @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

                            A 1 Reply Last reply 23 Jun 2020, 11:02 Reply Quote 0
                            • A Offline
                              AppLee @Torkel67
                              last edited by 23 Jun 2020, 11:02

                              @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
                              13 out of 16
                              • First post
                                13/16
                                Last post