Commit fecd4fd0 authored by David Trattnig's avatar David Trattnig
Browse files

Improve federation info.

parent 0f4a653d
......@@ -67,12 +67,15 @@ class ApiService():
# Configured as Main Node
else:
msg = ""
self.node_type = NodeType.MAIN
self.sync_host = config.get("sync_host")
if not self.sync_host:
msg = "No child node for synchronization defined"
else:
msg = "Pushing data to '%s'" % (self.sync_host)
if not self.config.get("enable_federation") == "false":
msg = "Pushing data to '%s'" % (self.sync_host)
# Set active source
source = ActivityLog.get_active_source()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment