Mark inbox messages as read via API #368
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-15#368
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "api_set_read_status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A new 'setRead' method allows you to mark an inbox message as read via the API.
I've added this functionality to getInboxMessageByID.
I just tried setting read state to 1 via getInboxMessageById(id, 1); and it doesn't seem to work when I call getAllInboxMessages. I don't see the messages state changing from 0 to 1.
nevermind, I had to send boolean (true/false) in javascript, Not 1 or 0.