Add user preferences and configurable notifications #113
@ -1,6 +1,6 @@
|
|||||||
class EjabberdApiClient
|
class EjabberdApiClient
|
||||||
def initialize
|
def initialize
|
||||||
@base_url = ENV["EJABBERD_API_URL"]
|
@base_url = Setting.ejabberd_api_url
|
||||||
end
|
end
|
||||||
|
|
||||||
def post(endpoint, payload)
|
def post(endpoint, payload)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user