When pinning a message automatically mark it as read
This commit is contained in:
parent
0758c09d9e
commit
1ff870927a
2 changed files with 19 additions and 20 deletions
|
@ -53,7 +53,7 @@ export const usePinnedEvents = (room: Room): string[] => {
|
|||
return pinnedEvents;
|
||||
};
|
||||
|
||||
const ReadPinsEventId = "im.vector.room.read_pins";
|
||||
export const ReadPinsEventId = "im.vector.room.read_pins";
|
||||
|
||||
export const useReadPinnedEvents = (room: Room): Set<string> => {
|
||||
const [readPinnedEvents, setReadPinnedEvents] = useState<Set<string>>(new Set());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue