You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-29 22:37:58 +02:00
fixed user's destination property
self.forward_destination is a list (and not string)
This commit is contained in:
@@ -346,10 +346,10 @@ class User(Base, Email):
|
||||
@property
|
||||
def destination(self):
|
||||
if self.forward_enabled:
|
||||
result = self.forward_destination
|
||||
result = list(self.forward_destination)
|
||||
if self.forward_keep:
|
||||
result += ',' + self.email
|
||||
return result
|
||||
result.append(self.email)
|
||||
return ','.join(result)
|
||||
else:
|
||||
return self.email
|
||||
|
||||
|
||||
Reference in New Issue
Block a user