mirror of
https://github.com/markqvist/LXMF
synced 2026-11-22 23:10:36 +00:00
Updated example
This commit is contained in:
1 parent
fe14f8744d
commit
fc99010a3d
1 file changed
+2
-2
@@ -13,8 +13,8 @@ def delivery_callback(message):
|
||||
if message.unverified_reason == LXMF.LXMessage.SOURCE_UNKNOWN:
|
||||
signature_string = "Cannot verify, source is unknown"
|
||||
|
||||
stamp_cost = 12
|
||||
if message.validate_stamp(stamp_cost):
|
||||
required_stamp_cost = 12
|
||||
if message.validate_stamp(required_stamp_cost):
|
||||
stamp_string = "Valid"
|
||||
else:
|
||||
stamp_string = "Not valid"
|
||||
|
||||
Reference in new issue
Block a user