Don't forget to actually split Newsgroups: value

This commit is contained in:
XANTRONIX Development 2024-11-30 20:08:04 -05:00
parent 8a63de9740
commit a1fdc3d0fe

View file

@ -710,7 +710,7 @@ class Session():
if value is None or value == '':
return False
names = map(lambda s: s.lower(), value)
names = map(lambda s: s.lower(), self.RE_NEWSGROUPS_SPLIT.split(value))
newsgroups = list()
for name in names:
@ -725,7 +725,7 @@ class Session():
message.message_id_assign()
if not message.validate():
return self.respond(ResponseCode.NNTP_POST_FAILED)
return False
self.db.add(message)