GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
542 stars 59 forks source link

[Bug]: new notifications from other accounts get added inappropriately #285

Closed selfisekai closed 1 year ago

selfisekai commented 1 year ago

Describe the bug

Tuba is listening to notifications, and shows them live in the notifications tab. when a notification arrives to a different account than the one being currently open, the notifications appear on the list anyway. (with #283 the incorrect ones disappear when refreshing the list)

Steps To Reproduce

  1. open Tuba with 2 accounts logged in
  2. open notifications tab on account A
  3. wait for a notification sent to account B
  4. notification appears on the notification list for account A

Logs and/or Screenshots

No response

Instance Backend

I'm not sure / Other

Operating System

postmarketOS edge

Package

OS repositories

Troubleshooting information

os: postmarketOS edge prefix: /usr flatpak: false version: 0.3.2 (production) gtk: 4.10.3 (4.10.3) libadwaita: 1.3.2 (1.3.2) libsoup: 3.4.2 (3.4.2) libgtksourceview: 5.8.0 (5.8.0)

Additional Context

reproduces with account A being Akkoma and account B being Mastodon

GeopJr commented 1 year ago

I'm having trouble reproducing but can guess what's at fault, could you give #286 a try to confirm?

edit: merged! If you can still produce it, let me know and I'll re-open this!