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
Copy file name to clipboardExpand all lines: docs/typing-indicator.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,19 +38,19 @@ The `expiration` tag MUST be set within the next 30 seconds, it CANNOT be higher
38
38
}
39
39
```
40
40
41
-
The [Event Creation Implementation Code](https://github.com/JSKitty/Vector/blob/cb616b75c8ba49960f887d1a7cf2a052898c49a4/src-tauri/src/lib.rs#L495) that generated this example (before redacting keys).
41
+
The [Event Creation Implementation Code](https://github.com/VectorPrivacy/Vector/blob/cb616b75c8ba49960f887d1a7cf2a052898c49a4/src-tauri/src/lib.rs#L495) that generated this example (before redacting keys).
42
42
43
43
# Client Implementation
44
44
45
45
A client SHOULD immediately display that a user is typing, if it receives a Typing Indicator Event with their Public Key, from a known user.
46
46
47
47
A client SHOULD NOT handle a Typing Indicator Event sent from an unknown user.
48
48
49
-
A client SHOULD immediately drop the Typing Indicator IF the sender has completed and sent their message. (i.e: if a received Message has a `created_at` newer than their Typing Indicator Event, then do NOT display them as typing). [Example Code](https://github.com/JSKitty/Vector/blob/cb616b75c8ba49960f887d1a7cf2a052898c49a4/src-tauri/src/lib.rs#L80).
49
+
A client SHOULD immediately drop the Typing Indicator IF the sender has completed and sent their message. (i.e: if a received Message has a `created_at` newer than their Typing Indicator Event, then do NOT display them as typing). [Example Code](https://github.com/VectorPrivacy/Vector/blob/cb616b75c8ba49960f887d1a7cf2a052898c49a4/src-tauri/src/lib.rs#L80).
50
50
51
51
A client SHOULD NOT accept Typing Indicator Events longer than 30 seconds from the current time.
52
52
53
-
The [Client Receiver Implementation Code](https://github.com/JSKitty/Vector/blob/cb616b75c8ba49960f887d1a7cf2a052898c49a4/src-tauri/src/lib.rs#L627), which provides an example on how to handle incoming Typing Indicator Events.
53
+
The [Client Receiver Implementation Code](https://github.com/VectorPrivacy/Vector/blob/cb616b75c8ba49960f887d1a7cf2a052898c49a4/src-tauri/src/lib.rs#L627), which provides an example on how to handle incoming Typing Indicator Events.
54
54
55
55
# Giftwrapping (NIP-59)
56
56
@@ -64,4 +64,4 @@ If your client supports disappearing messages, and you are actively using them,
64
64
65
65
For additional privacy, you may select a singular "Trusted Relay" to handle Typing Indicator Events, an approach also taken by the Vector client.
66
66
67
-
The [Event Giftwrapping Implementation Code](https://github.com/JSKitty/Vector/blob/f2fa50543c740a7054b04fa5d341ca14ed8b7a13/src-tauri/src/lib.rs#L508) of a giftwrapped Typing Indicator with extended public `expiration` timestamp.
67
+
The [Event Giftwrapping Implementation Code](https://github.com/VectorPrivacy/Vector/blob/f2fa50543c740a7054b04fa5d341ca14ed8b7a13/src-tauri/src/lib.rs#L508) of a giftwrapped Typing Indicator with extended public `expiration` timestamp.
0 commit comments