Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a bug in the chat-robot. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b3f87ef7c2349d57c2b093ae34075718 |
| User & Date: | drh 2022-09-27 13:47:29.411 |
Context
|
2022-09-27
| ||
| 14:39 | make chatbot message box transparent to avoid collisions Suggested by mgagnon in /chat. Hint from stephan. ... (check-in: c8b3ec1e6d user: mark tags: trunk) | |
| 13:47 | Fix a bug in the chat-robot. ... (check-in: b3f87ef7c2 user: drh tags: trunk) | |
| 11:11 | print stash metadata when popping or applying stash Feature request from Alfred M. Szmidt in [forum:ae3ad9c69f]. Minor tweak of original patch by stephan@ ... (check-in: 1392710fb4 user: mark tags: trunk) | |
Changes
Changes to src/chat.c.
| ︙ | ︙ | |||
743 744 745 746 747 748 749 |
blob_appendf(&json, "\"mtime\":\"%.10sT%sZ\",", zDate, zDate+11);
if( zLMtime && zLMtime[0] ){
blob_appendf(&json, "\"lmtime\":%!j,", zLMtime);
}
blob_append(&json, "\"xfrom\":", -1);
if(zFrom){
blob_appendf(&json, "%!j,", zFrom);
| | | 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 |
blob_appendf(&json, "\"mtime\":\"%.10sT%sZ\",", zDate, zDate+11);
if( zLMtime && zLMtime[0] ){
blob_appendf(&json, "\"lmtime\":%!j,", zLMtime);
}
blob_append(&json, "\"xfrom\":", -1);
if(zFrom){
blob_appendf(&json, "%!j,", zFrom);
isWiki = fossil_strcmp(zFrom, zChatUser)==0;
}else{
/* see https://fossil-scm.org/forum/forumpost/e0be0eeb4c */
blob_appendf(&json, "null,");
isWiki = 0;
}
blob_appendf(&json, "\"uclr\":%!j,",
user_color(zFrom ? zFrom : "nobody"));
|
| ︙ | ︙ |