Merge pull request #514 from derouinw/master
Implement favicon for 1.7.2
This commit is contained in:
@@ -1115,6 +1115,9 @@ void cProtocol172::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
|
||||
AppendPrintf(Response, "\"description\":{\"text\":\"%s\"}",
|
||||
cRoot::Get()->GetServer()->GetDescription().c_str()
|
||||
);
|
||||
AppendPrintf(Response, "\"favicon\":\"data:image/png;base64,%s\"",
|
||||
cRoot::Get()->GetServer()->GetFaviconData().c_str()
|
||||
);
|
||||
Response.append("}");
|
||||
|
||||
cPacketizer Pkt(*this, 0x00); // Response packet
|
||||
|
||||
Reference in New Issue
Block a user