hedwig-im / hedwig_xmpp

XMPP Adapter for Hedwig
MIT License
12 stars 6 forks source link

hedwig bot doesn't respond #4

Closed bossyang closed 7 years ago

bossyang commented 7 years ago

The bot works normally with console adapter.

* p1_utils 1.0.5 (Hex package) (rebar3)
  locked at 1.0.5 (p1_utils) 3e698354
  ok
* connection 1.0.4 (Hex package) (mix)
  locked at 1.0.4 (connection) a1cae722
  ok
* iconv 1.0.2 (Hex package) (rebar3)
  locked at 1.0.2 (iconv) a0792f06
  ok
* hedwig 1.0.0-rc5 (https://github.com/hedwig-im/hedwig.git) (mix)
  locked at eeb70eb (branch: master)
  ok
* fast_xml 1.1.15 (Hex package) (rebar3)
  locked at 1.1.15 (fast_xml) 6d23eb7f
  ok
* romeo 0.6.0 (https://github.com/scrogson/romeo.git) (mix)
  locked at 88d50f3
  ok
* hedwig_xmpp 1.0.0-rc.4 (https://github.com/hedwig-im/hedwig_xmpp.git) (mix)
  locked at d936425
  ok
scrogson commented 7 years ago

Can you please try master?

bossyang commented 7 years ago

Not work. My mix.exs is shown below.

  defp deps do
    [
      {:hedwig_xmpp, github: "hedwig-im/hedwig_xmpp", branch: :master},
      {:romeo, github: "scrogson/romeo", override: true},
      {:hedwig, github: "hedwig-im/hedwig", override: true, branch: :master},
      {:iconv, "~> 1.0.0"},
    ]
  end

Erlang 18, Elixir 1.3.3, Oracle Linux 7.2

scrogson commented 7 years ago

Fixed in https://github.com/hedwig-im/hedwig_xmpp/commit/ede14f4c9d9d8450d50278097cea0f302cd123ca

Thank you so much for the report!