Bug 491372

Summary: neochat does not default to correct powerlevels assumptions
Product: [Applications] NeoChat Reporter: Aranjedeath <orangewinds>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl, james.h.graham
Priority: NOR    
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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