Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Snow and adolescence are the only problems that disappear if you ignore them long enough.


dovenet / Synchronet Programming / src/sbbs3/writemsg.cpp

SubjectAuthor
o src/sbbs3/writemsg.cppRob Swindell (on Windows 11)

1
src/sbbs3/writemsg.cpp

<65B077FD.48490.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2509&group=DOVE-Net.Synchronet_Programming#2509

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.windows.11)@VERT (Rob Swindell (on Windows 11))
To: Git commit to main/sbbs/master
Subject: src/sbbs3/writemsg.cpp
Message-ID: <65B077FD.48490.syncprog@vert.synchro.net>
Date: Tue, 23 Jan 2024 18:37:49 -0800
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/b8d0ef979 Jan 21 2024 GCC 12.2.0
X-FTN-MSGID: 48490.syncprog@1:103/705 2a166b67
X-FTN-CHRS: CP437 2
WhenImported: 20240123183749-0800 41e0
WhenExported: 20240123201333-0800 41e0
ExportedFrom: VERT syncprog 48490
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Win - Wed, 24 Jan 2024 02:37 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/1321d7f537df2b0eb0c99f33
Modified Files:
src/sbbs3/writemsg.cpp
Log Message:
When editing a message, pass the proper to/from/subj/area to drop file

Fixes issue #704 - not just for JS bbs.edit_msg(), but for all uses of the underlying sbbs_t::editmsg() function.

Replaced one specific comparison of subnum == INVALID_SUB with call to is_valid_subnum() just to be consistent. No functional change there.

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor