TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: deon
date: 2022-04-22 22:00:00
subject: Javascript weirdness

  Re: Javascript weirdness
  By: Digital Man to deon on Thu Apr 21 2022 06:17 pm

 >  > Originally I was iterating through through that result to update the messages, but I was noticing the following behaviour:
 >
 >  > * call get_all_msg_headers()
 >  > * iterate through each item "for (hdr in hdrs)"
 >  > * set hdr.tag to "foo"
 >  > * pass hdr to put_msg_header();
 >
 >  > But the items were not updating.

 > Does put_msg_header() return false when you try to use it in that manner?

So I cant reproduce this now. I'll revert my code to use get_all_msg_headers and if I can reproduce it, I'll provide a log and the status returned.


...лоеп

---
 ю Synchronet ю Alterant | an SBBS in Docker on Pi!
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.