diff options
Diffstat (limited to 'docs/minpgc.md')
-rw-r--r-- | docs/minpgc.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/minpgc.md b/docs/minpgc.md index aa2ed1dc..a09895bd 100644 --- a/docs/minpgc.md +++ b/docs/minpgc.md | |||
@@ -29,7 +29,7 @@ packet from it, or a New Peer message for it. | |||
29 | 29 | ||
30 | If a frozen peer is seen to be active, we remove its 'frozen' flag and send a | 30 | If a frozen peer is seen to be active, we remove its 'frozen' flag and send a |
31 | Name group message. (We can hold off on sending this message until the next | 31 | Name group message. (We can hold off on sending this message until the next |
32 | tox\_iterate, and only send one message if many frozen peers become active at | 32 | `tox_iterate`, and only send one message if many frozen peers become active at |
33 | once). | 33 | once). |
34 | 34 | ||
35 | If we receive a New Peer message for a peer, we update its DHT pubkey. | 35 | If we receive a New Peer message for a peer, we update its DHT pubkey. |
@@ -102,13 +102,13 @@ actually make more sense in the implementation to have a separate list for | |||
102 | frozen peers. | 102 | frozen peers. |
103 | 103 | ||
104 | ## Saving | 104 | ## Saving |
105 | Saving could be implemented by simply saving all live groups with their group | 105 | Saving is implemented by simply saving all live groups with their group numbers |
106 | numbers and full peer info for all peers. On reload, all peers would be set as | 106 | and full peer info for all peers. On reload, all peers are set as frozen. |
107 | frozen. | ||
108 | 107 | ||
109 | The client would need to support this by understanding that these groups exist | 108 | Clients needs to support this by understanding that groups may exist on |
110 | on start-up (e.g. starting windows for them), and by not automatically killing | 109 | start-up. Clients should call `tox_conference_get_chatlist` to obtain them. A |
111 | groups on closing the client. | 110 | group which is deleted (with `tox_conference_delete`) is removed permanently |
111 | and will not be saved. | ||
112 | 112 | ||
113 | ## Limitations | 113 | ## Limitations |
114 | If a peer disconnects from the group for a period short enough that group | 114 | If a peer disconnects from the group for a period short enough that group |