You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page[/list] command only show pages you have sent (or sent to yourself), not those you have received.
Pages on Jazri account:
15:06:24 to Chiizujin:> test
15:11:38 to Chiizujin:> another test
15:23:17 to Jazri:> self test
15:23:17 from Jazri:< self test
The Msg is being created with only the sender (and Admin) having read permissions, not all of the receivers:
locks=(
f"read:id({caller.id}) or perm(Admin);"f"delete:id({caller.id}) or perm(Admin);"f"edit:id({caller.id}) or perm(Admin)"
),
Which means that they get filtered out here in the page command: pages_we_got = [msg for msg in pages_we_got if msg.access(caller, "read", default=True)]
I'm fine with fixing this but I just want to make sure this isn't the intended behaviour first, though I suspect this isn't intended because of:
rstrings.append(
f"{received[-1]} is offline. They will see your message "
"if they list their pages later."
)
Expected behavior
I expect (possibly mistakenly) that page should show pages I have received as well as those I have sent.
The text was updated successfully, but these errors were encountered:
chiizujin
added
bug
An actual error or unwanted behavior.
needs-triage
Yet to be looked at and verified as an a real issue/feature that could be worked on
labels
May 1, 2024
Describe the bug
The
page[/list]
command only show pages you have sent (or sent to yourself), not those you have received.Pages on Jazri account:
The
Msg
is being created with only the sender (and Admin) having read permissions, not all of the receivers:Which means that they get filtered out here in the
page
command:pages_we_got = [msg for msg in pages_we_got if msg.access(caller, "read", default=True)]
I'm fine with fixing this but I just want to make sure this isn't the intended behaviour first, though I suspect this isn't intended because of:
Expected behavior
I expect (possibly mistakenly) that
page
should show pages I have received as well as those I have sent.The text was updated successfully, but these errors were encountered: