https://gitlab.synchro.net/main/sbbs/-/commit/2d421cb3bc706591c9f76508
Modified Files:
src/sbbs3/js_msg_area.c
Log Message:
Fix: can_* and is_* properties were not dynamic. Added "posts" property.
The following properties would only reflect the status at the time the
msg_area object was initialized:
- can_access
- can_read
- can_post
- is_operator
- is_moderated
... so if changes were made the user while online, for example, these
property values would *not* also change to reflect the current state.
The grp[] and grp_list[] 'can_access' properties still have this flaw.
Also: Add a new "posts" property to the sub[] and sub_list[] objects to
report the current number of posted messages (quicker than opening a MsgBase instance).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net