Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Created Unassigned: Optional property time_to_live is always filled in message (also when 0) [1707]

The optional property __time_to_live__ is always filled in message, also when the LifeTime <= 0.

Change this code:
```
result.Add("time_to_live", LifeTime.ToString());
```

into

```
if (LifeTime > 0)
{
result.Add("time_to_live", Convert.ToString(LifeTime));
}
```

Viewing latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>