-
system.matchuser() not finding user by real name
From
Nightfox@VERT/DIGDIST to
Digital Man on Thu Aug 15 19:08:56 2019
Hi DM,ããI'm running a Synchronet Windows build from August 1st. With my reader, I forwarded a message in a sub-board to myself on my BBS, and it used my real name for the 'from' header field. With my reader, I try to reply to it, and my reader calls system.matchuser() to get the user number to reply to the appropriate person (in this case, I'm replying to myself, doing some testing). Apparently, system.matchuser() is unable to find the user record with my real name - system.matchuser() is returning 0 with my real name. Is that expected?ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Nightfox@VERT/DIGDIST to
Digital Man on Thu Aug 15 19:41:18 2019
Re: system.matchuser() not finding user by real nameã By: Nightfox to Digital Man on Thu Aug 15 2019 07:08 pmãã Ni> I'm running a Synchronet Windows build from August 1st. With my reader, Iã Ni> forwarded a message in a sub-board to myself on my BBS, and it used myã Ni> real name for the 'from' header field. With my reader, I try to reply toã Ni> it, and my reader calls system.matchuser() to get the user number to replyã Ni> to the appropriate person (in this case, I'm replying to myself, doingã Ni> some testing). Apparently, system.matchuser() is unable to find the userã Ni> record with my real name - system.matchuser() is returning 0 with my realã Ni> name. Is that expected? ããNow that I think about it, I suppose that behavior might be expected. It's possible there might be multiple users who happen to have the same real name. I guess I just hadn't noticed (or hadn't remembered) that behavior before.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Thu Aug 15 20:05:12 2019
Re: system.matchuser() not finding user by real nameã By: Nightfox to Digital Man on Thu Aug 15 2019 07:41 pmãã > Re: system.matchuser() not finding user by real nameã > By: Nightfox to Digital Man on Thu Aug 15 2019 07:08 pmã >ã > Ni> I'm running a Synchronet Windows build from August 1st. With my reader,ã > Ni> I forwarded a message in a sub-board to myself on my BBS, and it usedã > Ni> my real name for the 'from' header field. With my reader, I try toã > Ni> reply to it, and my reader calls system.matchuser() to get the userã > Ni> number to reply to the appropriate person (in this case, I'm replyingã > Ni> to myself, doing some testing). Apparently, system.matchuser() isã > Ni> unable to find the user record with my real name - system.matchuser()ã > Ni> is returning 0 with my real name. Is that expected?ã >ã > Now that I think about it, I suppose that behavior might be expected. It'sã > possible there might be multiple users who happen to have the same realã > name. I guess I just hadn't noticed (or hadn't remembered) that behaviorã > before.ããYeah, that's intentional: matchuser() only matches the user's name/alias, not user's real names. If you want to search for real names or other field values in the user base, you can use system.matchuserdata().ãã digital manããSynchronet "Real Fact" #15:ãSBBSecho was introduced (replacing SBBSFIDO) for Synchronet v2 in 1994.ãNorco, CA WX: 80.1øF, 42.0% humidity, 4 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã