modified library
modified library

You need replace the file Adafruit_MQTT.cpp in the library directory.
This does not support the Arduino MKR1000 and it has a bug when receiving data under this underwritten.
SXHXC/Weather-Station-Arduino-MKR1000-Adafruit-IO