Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Can't delete messages in my inbox #494

Open
ProfP30 opened this issue Nov 2, 2022 · 5 comments
Open

Can't delete messages in my inbox #494

ProfP30 opened this issue Nov 2, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@ProfP30
Copy link

ProfP30 commented Nov 2, 2022

Describe the bug
Received some spam messages via direct messages recently.
Even though I have reported the messages as spam or have deleted the content, I can't remove the mails from my inbox
If I go into the thread of the direct message by clicking on it, I see an empty thread just stating "DMPage" and twitter account name.

To Reproduce
Try to remove messages from the inbox

  1. Go to the direct messages overview
  2. Try to remove a whole conversation

Expected behavior
A possibility to remove a whole conversation from the overview and thread details.
Give a possibility like a context-menu (when right-clicking on a message in the direct messages overview) or hotkey etc.

System details:

  • OS: EndeavourOS (Arch derivate)
  • Version: 1.5-2 from the official Arch repo "community"
  • Package type: Official Arch repo "community"

Running G_MESSAGES_DEBUG=cawbird cawbird can give useful debug output.

See trace details of running G_MESSAGES_DEBUG=cawbird cawbird here: https://pastebin.com/UPJTKmKg

@IBBoard
Copy link
Owner

IBBoard commented Nov 3, 2022

Cawbird does support deleting DMs. We need a better UI, but I did it as a minimal-change approach because Corebird didn't support deletion. Within a conversation, you need to click on the avatar and then you can delete posts with the button at the bottom of the window.

I'm not clear how this isn't working, though. I can see the "Forbidden" messages in the log, but don't know what they're from (because it appears to be showing a user, but you said it's a DM problem).

Has Cawbird downloaded the DMs, and then you've deleted them on Twitter and now you can't delete them locally? Or is it something else?

If you could provide screenshots and notes about what you expect to see then it might be clearer.

@ProfP30
Copy link
Author

ProfP30 commented Nov 3, 2022

1.) I have spam mails in my inbox, which I have reported; screenshot: https://ibb.co/DWtJbGb
2.) When I click into the thread, I see no avatar anymore, because it was removed by Twitter or maybe I have already deleted the thread, but still it appears forever in the inbox: https://ibb.co/wWM2pqz

@ProfP30
Copy link
Author

ProfP30 commented Nov 4, 2022

Maybe it would be sufficient to clear my cawbird-cache. Can you please point me to the right directory/files? I have not been able to find it.

@IBBoard
Copy link
Owner

IBBoard commented Nov 4, 2022

It won't be the cache. It'll be in the database. That's at ~/.config/cawbird/accounts/<account-id>.sqlite but I'd recommend against editing it unless you know what you're doing, because Twitter only gives us recent DMs (so breaking the file would lose your DM history) and it holds various other data like your authentication tokens and filters.

@IBBoard IBBoard added the bug Something isn't working label Nov 4, 2022
@IBBoard
Copy link
Owner

IBBoard commented Nov 4, 2022

I've just recreated this by deleting all of my tweets to a company. The thread still exists in the DM thread list, but the page is blank. I should be able to do something about cleaning that up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants