From 465abea2777cd0fefc7e0bbed1365b6c6dadce6b Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Thu, 18 Mar 2021 21:00:24 -0700
Subject: [PATCH] Define SMB_TAGS_MAXLEN for maximum total tags length per
 message

---
 exec/load/smbdefs.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec/load/smbdefs.js b/exec/load/smbdefs.js
index aea313b48a..601e0d09be 100644
--- a/exec/load/smbdefs.js
+++ b/exec/load/smbdefs.js
@@ -118,6 +118,7 @@ const SMB_SUMMARY			= 0x61; 	// Not currently used for messages
 const SMB_COMMENT 			= 0x62; 	// Appear in message text, before body
 const SMB_TAGS				= 0x69; 	// Tags (ala hashtags) for a message
 const SMB_TAG_DELIMITER		= ' ';		// Tags are space-separated
+const SMB_TAG_MAXLEN		= 60;		// Tags strings are limited to this total length
 const SMB_POLL_ANSWER		= 0xe0;		// One poll answer (the subject is the question)
 
 const FIDOCTRL     			= 0xa0;
-- 
GitLab