Direct messages in the inbox tab always show as ‘unread’ and there doesn’t seem to be a way to clear that. They also don’t show the name of the other person you’re messaging (seems to show my id instead). It would also be great to link to their profile so you can find their posts / comments easily.

  • CreatureSurvive@lemmy.worldM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 months ago

    I will add swipe gestures to mark conversations as read, and a mark all button to mark all conversations as read. Currently you can only mark messages as read by replying to them, or by long pressing the individual message. I’ll also add a link to the users profile and an option to block the user in the navigation bar for individual conversations.

    I’ll have to look into this naming issue though. I can’t seem to reproduce that. The api does not actually offer any way of loading messages for individual conversations, so instead I have to load all messages and sort them into conversations. I’m assuming there is an issue in the sorting that I overlooked which is causing the naming issue. Would you be able to verify that the messages you’ve sent are showing on the right hand side, in the blue message bubbles?

    [edit] I just looked at it and I may have found the issue with the conversation titles. It looks like it may be dependent on the order of the messages. It should be a simple fix.

    • dave@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      So this is where I was expecting to see the other person’s name. And I’ve read / tapped on all the messages in this tbh read, but you can see the notification badge is stuck at the bottom:

      screenshot

      And yes, when I open that thread I see my messages on the right in blue.

      • CreatureSurvive@lemmy.worldM
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        Okay, the mark read issue I can reproduce, the message is properly marked as read, turns out the issue is really dumb. It seems that messages you send yourself are marked as unread by default. It looks like I will have to either filter out self messages when checking unread status, or automatically mark them as read when sending them.

        I can only assume this is the default behavior because the API allows you to message yourself. Either way, I’ll fix this in the next update.

        • dave@feddit.ukOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          Thanks for the message changers. 2 final bits I think—the profile image in the conversation list is still mine rather than the other persons, and when you open the thread the title is my name not theirs. But the menu and mark read stuff is all good :).

          • CreatureSurvive@lemmy.worldM
            link
            fedilink
            arrow-up
            2
            ·
            7 months ago

            Dang, I though I caught it all in last nights update. I just fixed those issues this morning, and I’ll include that in the next update (probably tomorrow).