summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-06-26 16:38:19 -0400
committerJune McEnroe <june@causal.agency>2022-06-26 16:38:19 -0400
commit4aaa2050e294d38c35ea0b5f5740541cebb9cfbd (patch)
treef2ad3d79d0f02aff1438d82211f0d14da22956d4
parentUse two lines to show topic diffs (diff)
downloadcatgirl-4aaa2050e294d38c35ea0b5f5740541cebb9cfbd.tar.gz
catgirl-4aaa2050e294d38c35ea0b5f5740541cebb9cfbd.zip
Only show old topic if something was removed
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 809b6bc..4b667c7 100644
--- a/handle.c
+++ b/handle.c
@@ -744,7 +744,7 @@ static void handleTopic(struct Message *msg) {
 		hash(msg->user), msg->nick, hash(msg->params[0]), msg->params[0]
 	);
 	ptr = highlightMiddle(ptr, end, Brown, old, pre, osuf);
-	uiWrite(id, Cold, tagTime(msg), buf);
+	if (osuf != pre) uiWrite(id, Cold, tagTime(msg), buf);
 	ptr = buf;
 	ptr = seprintf(
 		ptr, end, "\3%02d%s\3\tplaces a new sign in \3%02d%s\3: ",
ber 15June McEnroe 2024-09-24Add photos from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe