• about system.put_telegram()

    From Ragnarok@1:103/705 to DOVE-Net.Synchronet_Programming_C+ on Sun Dec 2 20:46:57 2018
    When i send a telegram to another user/node (ctrl+p and t), that node
    receive it with the header from TelegramFmt (164) from text.dat, that is
    fine.

    If i use from js script the system.put_telegram() method, i receive only
    the text string message. Whitout the header (Telegram from user XXXX: )

    Should i format the text loading the text.dat string before sending it?

    I expected it to apper with the header.

    I notice system.that put_node_message() has same behavior.

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ragnarok on Sun Dec 2 21:34:56 2018
    Re: about system.put_telegram()
    By: Ragnarok to DOVE-Net.Synchronet_Programming_C+ on Sun Dec 02 2018 08:46 pm

    When i send a telegram to another user/node (ctrl+p and t), that node receive it with the header from TelegramFmt (164) from text.dat, that is fine.

    If i use from js script the system.put_telegram() method, i receive only
    the text string message. Whitout the header (Telegram from user XXXX: )

    Use bbs.put_telegram() instead.

    Should i format the text loading the text.dat string before sending it?

    Only if you really need to use the system.put_telegram() method (e.g. from another server/service).

    I expected it to apper with the header.

    I notice system.that put_node_message() has same behavior.

    See exec/privatemsg.js for an example.

    digital man

    Synchronet/BBS Terminology Definition #38:
    ISDN = Integrated Services Digital Network
    Norco, CA WX: 51.2°F, 64.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)