• src/sbbs3/mqtt.c mqtt.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Mar 6 18:35:41 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f99713f33408ba7df7cd14f4
    Modified Files:
    src/sbbs3/mqtt.c mqtt.h
    Log Message:
    Don't publish to the initial server topics (e.g. version) until after connect

    Fix for issue #884

    We must wait until the connect_callback() has been called to publish these messages. Using mqtt.server_version as the indicator of an initial startup connection versus a re-connection (due to broker-connection loss), i.e.
    setting to NULL after initial connection.

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