Rename matrix.factory.* -> matrix.httpclient.*

The old name didn't really make much sense after all...
This commit is contained in:
Adrian Perez de Castro
2016-07-01 05:10:22 +03:00
parent e128366f7f
commit bd811c859e
4 changed files with 14 additions and 14 deletions

View File

@@ -296,12 +296,12 @@ local Client = {}
Client.__name = "matrix.client"
Client.__index = Client
setmetatable(Client, { __call = function (self, base_url, token, http_factory)
setmetatable(Client, { __call = function (self, base_url, token, http_client)
local c = eventable.object(setmetatable({
presence = {}, -- Indexed by user_id
rooms = {}, -- Indexed by room_id
_log = get_debug_log_function(),
_api = API(base_url, token, http_factory),
_api = API(base_url, token, http_client),
}, Client))
-- Do an initial sync if a token was provided on construction.
if token then