Bug 491372 - neochat does not default to correct powerlevels assumptions
Summary: neochat does not default to correct powerlevels assumptions
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.05.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-07 02:24 UTC by Aranjedeath
Modified: 2024-09-07 07:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aranjedeath 2024-08-07 02:24:48 UTC
SUMMARY
I have a powerlevel event that looks like this:

{
  "content": {
    "users": {
      "@aranjedeath:explodie.org": 100,
      "@aranjedeath:matrix.org": 100
    }
  },
  "event_id": "$JCvQGlBwF5XeZ1FPrJ7g6PkR6wHhX4tEaZqrgpQfkM4",
  "origin_server_ts": 1689493079590,
  "sender": "@aranjedeath:explodie.org",
  "state_key": "",
  "type": "m.room.power_levels",
  "unsigned": {
    "prev_content": {
      "users": {
        "@aranjedeath:explodie.org": 100,
        "@aranjedeath:matrix.org": 50
      }
    },
    "prev_sender": "@aranjedeath:explodie.org"
  },
  "room_id": "!rRurTrInm49L0lmurG:explodie.org"
}

But neochat fills almost all the permissions with "0"'s, while the spec specifies the defaults as such:

https://spec.matrix.org/v1.11/client-server-api/#mroompower_levels

OS Info: Neochat 24.05.2 on KDE NEON
Comment 1 James Graham 2024-09-06 14:17:03 UTC
This should resolve it https://github.com/quotient-im/libQuotient/pull/795
Comment 2 James Graham 2024-09-07 07:54:19 UTC
Will be fixed when upgrading to libquotient 0.9 after it's released